import store from './sessionStore'
const key = 'name'

export const setName = name => store.set(key, name)

export const getName = () => store.get(key)

export const hasName = () => store.get(key) === '' ? false : true

export const delName = () => store.del(key)
